package com.wzq.dao.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 *
 * </p>
 *
 * @author pzm
 * @since 2022-08-31
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_project")
public class Project implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    //标题
    private String title;
    //类型
    private Integer type;
    //内容
    private String context;
    // 设备号
    private String p_number;

    /**
     * 是否可加入
     * 1是，0否
     */
    private Integer apply;

    private String message;

    private String space;

    private String begintime;

    private String endtime;

    private String puttime;

    private Integer isover;

    private Integer istop;

    private Integer lovenum;

    /**
     * 作者
     * 默认0管理员 其他为用户
     */
    private Integer author;

    private Integer applyuse;
    private Integer display;
    private Integer applyreason;
    private Integer adminagree;

    private String richtext;
    @TableField(exist = false)
    private String videourl; //视频
    @TableField(exist = false)
    private String  picurl; //图片封面
    @TableField(exist = false)
    private String top_c;
    @TableField(exist = false)
    private String over_c;
    @TableField(exist = false)
    private String apply_c;
    @TableField(exist = false)
    private String t_type;
    @TableField(exist = false)
    private Integer parent;
    // 评论条数
    @TableField(exist = false)
    private Integer discount;
    // 收藏数
    @TableField(exist = false)
    private Integer favocount;
}
